/*
*┌──────────────────────────────────────────────────────────────┐
*│　描    述：                                                    
*│　作    者：sys                                              
*│　创建时间：2020-12-02 15:37:23   
*│　说    明：代码生成器生成   
*└──────────────────────────────────────────────────────────────┘
*/
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace SXFramWork.Model
{
	/// <summary>
	/// 
	/// </summary>
	[Table("SysLog")]
	public partial class SysLogEntity
	{
		/// <summary>
		///  
		/// </summary>
		[Key]
		public string Id {get;set;}

		/// <summary>
		/// 操作用户
		/// </summary>
		[MaxLength(50)]
		public string UserName {get;set;}

		/// <summary>
		/// 创建时间
		/// </summary>
		[MaxLength(23)]
		public DateTime CreateTime {get;set;}

		/// <summary>
		/// 日志类型0操作日志 1登录日志
		/// </summary>
		[MaxLength(10)]
		public int Type {get;set;}

		/// <summary>
		/// Ip地址
		/// </summary>
		[MaxLength(200)]
		public string IP {get;set;}

		/// <summary>
		/// 浏览器信息
		/// </summary>
		[MaxLength(500)]
		public string Browser {get;set;}

		/// <summary>
		/// 0失败1成功
		/// </summary>
		[MaxLength(10)]
		public int Result {get;set;}

		/// <summary>
		/// 操作
		/// </summary>
		[MaxLength(50)]
		public string Operation {get;set;}

		/// <summary>
		/// 信息
		/// </summary>
		[MaxLength(200)]
		public string Message {get;set;}

		/// <summary>
		/// Api地址
		/// </summary>
		[MaxLength(200)]
		public string ApiUrl {get;set;}

		/// <summary>
		/// 时长
		/// </summary>
		[MaxLength(19)]
		public Int64 ElapsedMilliseconds {get;set;}


		public string Content { get; set; }
		public string Name { get; set; }
	}
}
